//
//  AboutUsViewController.m
//  Yihubang
//
//  Created by hyu on 16/9/22.
//  Copyright © 2016年 jinghao. All rights reserved.
//

#import "AboutUsViewController.h"

@interface AboutUsViewController ()

@end

@implementation AboutUsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.navigationItem setTitle:@"关于我们"];
    self.showLeftMenu =YES;
    UIImageView *productIntroduceImageView = [[UIImageView alloc]init];
    productIntroduceImageView.image = [UIImage imageNamed:@"guanyuwomen-neirong"];
    CGFloat PIimageViewW = productIntroduceImageView.image.size.width;
    CGFloat PIimageViewH = productIntroduceImageView.image.size.height;
    CGFloat proportion = PIimageViewH / PIimageViewW;
    productIntroduceImageView.frame = CGRectMake(0, 0, self.view.width, self.view.width * proportion);
    [self.productScrollView addSubview:productIntroduceImageView];
    self.productScrollView.showsVerticalScrollIndicator = NO;
    self.productScrollView.showsHorizontalScrollIndicator = NO;
    self.productScrollView.contentSize = CGSizeMake(self.view.width, self.view.width * proportion);
    self.productScrollView.bounces = YES;
    // Do any additional setup after loading the view.
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
